package com.example.netdemo.api;

import com.example.netdemo.base.BaseResponse;
import com.example.netdemo.model.LoginModel;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface LoginApi {
    @POST("auth/mp/login")
    Observable<BaseResponse<LoginModel>> login(@Body Map<String, Object> map);
}
